export const tableConfig = {
	showIndexColumn: true,
	propList: [
		{ prop: 'dictName', label: '字典名称' },
		{ prop: 'dictType', label: '字典类型' },
		{ prop: 'remark', label: '备注' },
		{ prop: 'createTime', label: '创建时间' },
		{ label: '操作', slotName: 'handler' }
	]
}
export const rulesType = {
	dictName: [{ required: true, message: '请输入字典名称', trigger: 'blur' }],
	dictType: [{ required: true, message: '请输入字典类型', trigger: 'blur' }]
}

export const drawerTable = {
	showIndexColumn: true,
	propList: [
		{ prop: 'dictLabel', label: '名称' },
		{ prop: 'dictValue', label: '字典值' },
		{ prop: 'dictSort', label: '排序' },
		{ prop: 'status', label: '状态', slotName: 'status' },
		{ label: '操作', slotName: 'handler' }
	]
}

export const rulesData = {
	dictLabel: [{ required: true, message: '请输入数据标签', trigger: 'blur' }],
	dictValue: [{ required: true, message: '请输入数据键值', trigger: 'blur' }]
}
